#include  "../app/app_mqtt.h"
#include <stdio.h>

int recvCallback(void *ptr, int len)
{
    printf("receive data:%s, len:%d \n",(char *)ptr, len);
    return 0;
}
int main(int argc, char const *argv[])
{
    app_mqtt_init();
    app_mqtt_registerRecvCallback(recvCallback);
    app_mqtt_send("test", 5);

    return 0;
}
